*{
    margin: 0;
    padding: 0;
    border: 0;
}
body{
    width: 100%;
    height: 100%;
}
#container{
    position: relative;
    width: 620px;
    height: 450px;
    margin: 0 auto;
    margin-top: 100px;
    border-radius: 1px;
    background-color: pink;
}
#game{
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 5px;
    display: inline-block;
    background-color: #ffe171;
    box-shadow: 0 0 10px #ffe171;
}
#game div{
    position: absolute;
    width: 149px;
    height: 149px;
    box-shadow: 1px 1px 2px #777;
    background-color: #20a6fa;
    color: white;
    text-align: center;
    line-height: 150px;
    font-size: 150px;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-tansition:0.3s;
    -o-transition:0.3s;
    transition: 0.3;
}
#game div:hover{
    color: #ffe171;
}
#control{
    float: right;
    width: 150px;
    height: 450px;
    /* display: inline-block; */
}
#control rowspan{
    height: 25px;
    font-size: 20px;
    color: #222;
    margin-top: 10px;
}
#start{
    display: inline-block;
    width: 100px;
    height: 28px;
    font-size: 28px;
    background-color: #20a6fa;
    color: #ffe171;
    text-shadow: 1px 1px 2px #ffe171;
    border-radius: 5px;
    box-shadow: 2px 2px 5px #4c98f5;
    text-align: center;
    cursor: pointer;
}
#reset{
    display: inline-block;
    width: 100px;
    height: 28px;
    font-size: 28px;
    background-color: #20a6fa;
    color: #ffe171;
    text-shadow: 1px 1px 2px #ffe171;
    border-radius: 5px;
    box-shadow: 2px 2px 5px #4c98f5;
    text-align: center;
    cursor: pointer;
}
#d1{
    left: 0px;
}
#d2{
    left: 150px;
}
#d3{
    left: 300px;
}
#d4{
    top: 150px;
}
#d5{
    left: 150px;
    top: 150px;
}
#d6{
    left: 300px;
    top: 150px;
}
#d7{
    top: 300px;
}
#d8{
    left: 150px;
    top: 300px;
}